import { ReactChild, ReactFragment, ReactPortal } from "react";

import { Layout } from 'antd';
const { Header, Footer, Sider, Content } = Layout;

export default (props: { children: boolean | ReactChild | ReactFragment | ReactPortal | null | undefined; })=>{
           return (
                        <Layout>
                           <Content>{props.children}</Content>
                           <Footer style={{ textAlign: 'center' }}>Ant Design ©2018 Created by Ant UED</Footer>
                         </Layout>
           );     
}